package com.ss.android.article.base.feature.update.b;

import android.content.DialogInterface;

import com.ss.android.article.base.feature.update.a.c;
import com.ss.android.article.base.feature.update.a.d;
import com.ss.android.common.lib.MobClickCombiner;

public final class r implements DialogInterface.OnClickListener {
    private final UpdateItemMgr d;
    private final int a;
    private final d b;
    private final c c;

    public r(UpdateItemMgr arg1, int arg2, d arg3, c arg4) {
        this.d = arg1;
        this.a = arg2;
        this.b = arg3;
        this.c = arg4;

    }

    public final void onClick(DialogInterface arg8, int arg9) {
        String v0 = "none";
        switch(this.a) {
            case 0: {
                v0 = "reply_update";
                break;
            }
        }

        UpdateItemMgr v1 = this.d;
        if(!android.support.design.a.isTextEmpty(v0)) {
            MobClickCombiner.onEvent(v1.mContext, "delete", v0);
        }

        this.d.a(this.b, this.c.a);
        new DeleteCommentThread(this.d.mContext, this.d.j, this.c.a, 6).start();
    }
}

